<?php
declare (strict_types=1);

namespace app\command;
use app\client\services\TiktokPromoteService;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class pushTiktokPromoteUvData extends Command
{
    protected function configure()
    {
        // 指令配置
        $this->setName('pushTiktokPromoteUvData')
            ->setDescription('推送抖音日UV数据');
    }

    protected function execute(Input $input, Output $output)
    {
        TiktokPromoteService::pushUvData();
        $output->writeln('push info success');
    }
}
